package com.guigu.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @ClassName:PayFeign
 * @Description://TODO
 * @Author:taoLong
 * @Date:2021/11/17:10:13 星期三
 * @email:2391611102@qq.com or 2391611102qq@gmail.com
 */
@FeignClient(value = "tms-mq-provider", path = "/pay")
public interface PayFeign {

    /**
     * 发送消息
     *
     * @param orderId 订单ID
     * @return
     */
    @GetMapping("/sendPayMessage/{orderId}")
    public String sendPayMessage(@PathVariable("orderId") String orderId);
}
